// 车险表单工具 状态配置
import carStatusConf from '@/components/ivew_conf/car_status_conf'
import * as carFormBtns from '@/components/form_tools/index'
import statusFilter from '@/components/ivew_conf/status_filter'

interface btn{

    icon: string,
    peg: string,
    title: string,
    fn: any
    
}

/*
** 过滤可用按键
** @params
        orderStatus: 订单状态
        statusConf: 状态对应配置
*/ 
const filter = (orderStatus, statusConf):btn[] =>{

    return  statusFilter(carFormBtns, statusConf, orderStatus)

}

export{
    filter
} 
